package g11.actionutil;

import g11.model.Employee;
import g11.model.Patient;
import g11.model.Visitation;

import java.sql.Date;
import java.util.List;

public interface VisitationUtil {

	public List<Visitation> getVisitationByDoctor(Employee doctor)
			throws Exception;

	public List<Visitation> getVisitationByPatient(Patient patient)
			throws Exception;

	public List<Visitation> getVisitationByDoctorAndDate(Employee doctor,
			Date date) throws Exception;

	public List<Visitation> getVisitationByPatientAndDate(Patient patient,
			Date date) throws Exception;

	/*
	 * first check if the appointment is in "pending" mode, if so, create a new
	 * Visitation, then create the corresponding VisitationContent
	 */

}
